<?php
class SluggableTemplate extends Doctrine_Template
{
    public function setTableDefinition() {
        $this->hasColumn('slug','string',255,array(
            'type' => 'string',
            'length' => 255
        ));
        
        $this->addListener(new SluggableListener());
    }
}
